<%--
  Created by IntelliJ IDEA.
  User: Sarah
  Date: 2023/3/22
  Time: 16:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <base href="<%= basePath %>"/>
    <title>首页</title>
</head>
<body>
<a href="user/hello">测试相对路径</a><br/>
<a href="user/insert">测试类名前requestMapper的请求</a><br/>
<a href="getParams.jsp">测试获取前端请求数据</a><br/>
<a href="resp.jsp">测试向前端发送数据</a><br/>
</body>
</html>